package com.mykolaBlyk.graphexample;

public class MyPoint   {
	
	private double x,y;
	
	public MyPoint(double x, double y){
		this.x=x;
		this.y=y;
	}
	
	public double getX(){
		return this.x;
	}
	
	public double getY(){
		return this.y;
	}
	
	public boolean equals(Object o){
		MyPoint e=(MyPoint) o;
		if(e.getX()!=this.x&&e.getY()!=this.getY()){
			return false;
		}
		
		return true;
	}
}
